net/http.http2ClientConn.currentRequestCountLocked (method)
6 uses
net/http (current package)
h2_bundle.go#L8342: maxConcurrentOkay = cc.currentRequestCountLocked() < int(cc.maxConcurrentStreams)
h2_bundle.go#L8377: if cc.currentRequestCountLocked() >= int(cc.maxConcurrentStreams) {
h2_bundle.go#L8388: func (cc *http2ClientConn) currentRequestCountLocked() int {
h2_bundle.go#L8402: return max(0, int(cc.maxConcurrentStreams)-cc.currentRequestCountLocked())
h2_bundle.go#L9053: if cc.currentRequestCountLocked() < int(cc.maxConcurrentStreams) {
h2_bundle.go#L10637: return cc.cc.currentRequestCountLocked()
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |